package com.bfly.mall.message.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author 长沙商脉科技有限公司
 * @date 2020/11/1 10:37
 */
public class NotifyFormDTO implements Serializable {

    private static final long serialVersionUID = -6373583204020102402L;
    private int id;

    @NotBlank(message = "标题不能为空!")
    private String title;
    @NotBlank(message = "内容不能为空!")
    private String content;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
